package Day20;

public class MiGong {
    public static void main(String[] args) {
        Methods method = new Methods();
        method.m("45");
    }
}

class Methods{
    public void m(int n){
        System.out.println("相乘的结果是"+ (n * n));
    }

    public void m(int n1, int n2){
        System.out.println("两个数相乘的结果是" + (n1 * n2));
    }

    public void m(String n){
        System.out.println("字符串的输出结果是" + n);
    }
}
